#
# SConscript #/home
# -- driver program
#

Import('env')
Import('libgpusyn')
Import('libaudio')

localenv = env.Clone()

localenv.Append(CPPPATH='/opt/cuda/sdk/C/common/inc', LINKFLAGS='-lpthread -lasound -lcuda -lcutil_x86_64 -lcurses -lcudart -L/opt/cuda/sdk/C/lib -L/opt/cuda/lib64')
localenv.Append(_LIBFLAGS='external_libs/RtAudio.o ')

test_run = localenv.Program('run', ['driver.cpp', libgpusyn, libaudio])

localenv.Install('#/build', test_run)
